package com.rnny.spring_security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 类功能描述：
 *
 * @author ZhuangXingJu
 * @date 2023/11/23 17:20
 */
@RestController
@RequestMapping("/sample")
public class SampleController {

    @GetMapping("/hello")
    public String hello() {
        return "hello spring security";
    }
}
